import service from "@/utils/request";

export function getAllProvince() {
  return service({
    url: `/Provs`,
    method: 'get'
  })
}

export function getProById(id: string) {
  return service({
    url: `/Cities/Provs/${id}`,
    method: 'get'
  })
}

export function getCityDeatial(provName: string, cityName: string) {
  return service({
    url: `/Cities`,
    method: 'get',
    params: {
      cityName,
      provName
    }
  })
}

